Automatic Profile Generation for OFL-Languages
نویسندگان
چکیده
class Vehicle { public int type; public abstract void start(); } /* Class Vehicle is the base for all vehicle hierarchy */ // file: Color.java // package OFLML_JavaCars; public class Color { } // file: Car.java // package OFLML_JavaCars; public class Car { public Color color; public void setColor(Color c) {}; public Color getColor() { return color; }; public void start() {}; } Figure 8.1 gives an example of a model for an application which uses an OFL-ML profile for OFL-Java: three descriptions : Vehicle, Car, and Color, one Java concretization relationship : class Car is a concretization of the abstract class Vehicle, one Java aggregation relationship: class Car has an attribute of type Color. The diagram corresponds to above Java code. The OFL-ML Java Profile elements used have been defined according to previous sections. The diagram was generated with Objecteering UML Modeler version 5.2.2 [Sof03].
منابع مشابه
تولید خودکار الگوهای نفوذ جدید با استفاده از طبقهبندهای تک کلاسی و روشهای یادگیری استقرایی
In this paper, we propose an approach for automatic generation of novel intrusion signatures. This approach can be used in the signature-based Network Intrusion Detection Systems (NIDSs) and for the automation of the process of intrusion detection in these systems. In the proposed approach, first, by using several one-class classifiers, the profile of the normal network traffic is established. ...
متن کاملSeparation of Concerns in OFL
OFL (Open Flexible Languages) is the name of a meta-model for object-oriented programming languages based on classes. It relies on three essential concepts of these languages: the descriptions which are a generalisation of the notion of class, the relationships such as inheritance or aggregation and the languages themselves. OFL provides a customisation (hyper-genericity) of these three concept...
متن کاملModifiers in OFL - An Approach for Access Control Customization
The aim of this paper is to provide an approach for a better reification of the semantics of the access control mechanisms within the OFL Model. OFL is a meta-model dedicated to the description of object-oriented programming languages. The description of the semantics of language is achieved through the customization of a set of language features. Originally this customization can deal only wit...
متن کاملLe modèle OFL au service du métaprogrammeurApplication à Java
RÉSUMÉ. OFL est le sigle de Open Flexible Languages et le nom d’un métamodèle des langages de programmation à classes. Il repose sur trois concepts essentiels de ces langages : les descriptions qui sont une généralisation de la notion de classe, les relations telles l’héritage ou l’agrégation et les langages eux-mêmes. OFL offre un paramétrage de ces trois concepts dans le but d’adapter leur sé...
متن کاملA semi-automatic approach for bridging DSMLs with UML
The definition of modeling languages is a key-prerequisite for model-driven engineering (MDE). In this respect, domain-specific languages (DSL) defined in terms of metamodels and UML profiles are often considered as two alternatives. For interoperability reasons, however, the need arises to bridge modeling languages originally defined as DSLs to UML profiles by defining (1) a specific UML profi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2003